#include "colorsquare.h"

ColorSquare::ColorSquare(QWidget *parent) :
    QLabel(parent)
{
}

void ColorSquare::mousePressEvent(QMouseEvent *ev){
    if(ev->button()==Qt::LeftButton)
        emit clicked();
}
